home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / qr < prev    next >
Text File  |  1994-04-25  |  602b  |  26 lines

  1. qr:
  2.     
  3. Syntax:    qr ( A )
  4.     qr ( A , "p" )
  5.  
  6. Description:
  7.  
  8.     Qr computes the QR decomposition of the input matrix A such
  9.     that: 
  10.  
  11.         A = Q * R
  12.  
  13.     or
  14.  
  15.         A*p = Q * R
  16.  
  17.     Qr returns a list containing elements `q' and `r'. Optionally,
  18.     qr can take a second argument ("p"), which tells qr to perform
  19.     column pivoting when computing [q] and [r]. The permutation
  20.     matrix `p' is returned in the same list as `q' and `r'.
  21.  
  22.     Qr utilizes LAPACK subroutines DGEQRF and DORGQR for REAL
  23.     inputs, and ZGEQRF and ZUNGQR for COMPLEX inputs. When column
  24.     pivoting is requested the LAPACK subroutines DGEQPF, and
  25.     ZGEQPF are used.
  26.